﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Vinetlife.Master" AutoEventWireup="true"
    CodeBehind="Category.aspx.cs" Inherits="VINETLIFE.Category" %>

<%@ Register Src="Module/ucLeftMenuProductCate.ascx" TagName="ucLeftMenuProductCate"
    TagPrefix="uc1" %>
<%@ Register Src="Module/ucFacebook.ascx" TagName="ucFacebook" TagPrefix="uc2" %>
<%@ Register Src="Module/ucVnSuportVinetlife.ascx" TagName="ucVnSuportVinetlife" TagPrefix="uc3" %>
<%@ Register Src="Module/ucVnAboutVinetlife.ascx" TagName="ucVnAboutVinetlife" TagPrefix="uc4" %>
<%@ Register Src="Module/ListMenuNews.ascx" TagName="ListMenuNews" TagPrefix="uc6" %>
<%@ Register Src="Module/AddButton.ascx" TagName="AddButton" TagPrefix="uc7" %>
<%@ Register TagPrefix="cp" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="main-container">
        <div class="main-container-inner">
            <div id="breadcrumb">
                <ul class="crumbs">
                    <asp:Literal runat="server" ID="ltrBreadcrumbs"></asp:Literal>
                </ul>
            </div>
            <div class="t-content-wrap">
                <div class="main-container-inner-left">
                    <%-- <div class="menu-content-wrap">
                          <uc2:ucFacebook runat="server" ID="ucFacebookX" />
                         </div> --%>
                    <uc3:ucVnSuportVinetlife ID="ucVnSuportVinetlife1" runat="server" />
                    <uc4:ucVnAboutVinetlife ID="ucVnAboutVinetlife1" runat="server" />
                    <uc6:ListMenuNews ID="ListMenuNews1" runat="server" />
                </div>
                <div class="main-container-inner-right">
                    <div class="heading1">
                    <h2 class="heading2">
                            <asp:Literal runat="server" ID="ltrCateName"></asp:Literal></h2>
                        </div>
                    <div class="news-box">
                        <asp:Repeater ID="rptNews" runat="server">
                            <ItemTemplate>
                                <div class="t-art-box">
                                    <div class="t-art-img-wrap">
                                        <a href='/bai-viet/<%#FriendlyUrl(Eval("Title").ToString())%>-<%#Eval("ArticleID")%>'
                                            title='<%#Eval("Title") %>'>
                                            <img src='/Media/<%#Eval("ImageUrl") %>' alt='<%#Eval("Title") %>' title='<%#Eval("Title") %>' />
                                        </a>
                                    </div>
                                    <div class="t-art-title-wrap">
                                        <h2 class="t-p-title">
                                            <a href='/bai-viet/<%#FriendlyUrl(Eval("Title").ToString()) %>-<%#Eval("ArticleID")%>'
                                                title='<%#Eval("Title") %>'>
                                                <%#Eval("Title")%></a>
                                        </h2>
                                        <p class="t-p-des">
                                            <%#WordCut(Eval("Description").ToString())%>
                                        </p>
                                        <p class="new-readmore">
                                            <a href='/bai-viet/<%#FriendlyUrl(Eval("Title").ToString()) %>-<%#Eval("ArticleID")%>'
                                                title='<%#Eval("Title") %>'>Đọc tiếp →</a>
                                        </p>
                                    </div>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="collection">
                        <cp:CollectionPager LabelText="" FirstText="&amp;nbsp;&amp;nbsp;<<" BackText="< &amp;nbsp;"
                            LastText=">>" NextText=">" ShowFirstLast="True" ControlCssClass="collectionpager"
                            PagingMode="PostBack" runat="server" BackNextLinkSeparator="" BackNextLocation="Split"
                            PageNumbersDisplay="Numbers" ResultsLocation="None" BackNextDisplay="HyperLinks"
                            ID="CollectionPager1" BackNextButtonStyle="" BackNextStyle="margin-left:5px;"
                            ControlStyle="" PageNumbersSeparator="&amp;nbsp;">
                        </cp:CollectionPager>
                        <div class="collectPage">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
